package com.system.manager.modules.assit.enums;

import com.system.manager.common.enums.IErrorCode;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @Classname AssitErrorCode
 * @Description TODO
 * @Date 2021/11/20 10:10
 * @Created by 杨小鹏：【241960695@qq.com】
 */
@AllArgsConstructor
@NoArgsConstructor
public enum  AssitErrorCode implements IErrorCode {

    USER_NOT_EXISTS(40002, "已被拒绝，请联系管理员"),

    EXPERT_IS_REFUSE(40002, "已被拒绝，请联系管理员"),
    EXPERT_IS_EXISTS(40001, "请勿重复提交申请");

    // 错误状态码
    private Integer code;

    // 错误消息提示
    private String msg;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
